<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
   
  <meta name="keywords" content="郑浩枫,周芳怡,咸鱼郑某的博客" />
   
  <meta name="description" content="咸鱼郑某的博客" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>
     岛
  </title>
  <meta name="generator" content="hexo-theme-yilia-plus">
  
  <link rel="shortcut icon" href="/favicon.ico" />
  
  
<link rel="stylesheet" href="/css/main.css">

  
  <script src="https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js"></script>
  
  

  

<link rel="alternate" href="/atom.xml" title="岛" type="application/atom+xml">
</head>

</html>

<body>
  <div id="app">
    <main class="content">
      
<section class="cover">
    
      
      <a class="forkMe" href="https://gitee.com/ZHFHZ/"
        target="_blank"><img width="149" height="149" src="/images/forkme.png"
          class="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1"></a>
    
  <div class="cover-frame">
    <div class="bg-box">
      <img src="/images/cover1.jpg" alt="image frame" />
    </div>
    <div class="cover-inner text-center text-white">
      <h1><a href="/">岛</a></h1>
      <div id="subtitle-box">
        
        <span id="subtitle"></span>
        
      </div>
      <div>
        
      </div>
    </div>
  </div>
  <div class="cover-learn-more">
    <a href="javascript:void(0)" class="anchor"><i class="ri-arrow-down-line"></i></a>
  </div>
</section>



<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11/lib/typed.min.js"></script>

<div id="main">
  <section class="outer">
  <article class="articles">
    
    
    
    
    <article id="post-ThinkPHP使用Nginx" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2021/ThinkPHP%E4%BD%BF%E7%94%A8Nginx/"
    >ThinkPHP使用Nginx</a
  >
</h2>
  

    </header>
    

    
    <div class="article-meta">
      <a href="/2021/ThinkPHP%E4%BD%BF%E7%94%A8Nginx/" class="article-date">
  <time datetime="2021-11-09T14:44:00.000Z" itemprop="datePublished">2021-11-09</time>
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/ThinkPHP/">ThinkPHP</a>
  </div>

      
      
      
    </div>
    

    

    
    <div class="article-entry" itemprop="articleBody">
      
      

      
      <h2 id="ThinkPHP路由使用Nginx"><a href="#ThinkPHP路由使用Nginx" class="headerlink" title="ThinkPHP路由使用Nginx"></a>ThinkPHP路由使用Nginx</h2><p>今天这两天服务器使用的Apache貌似不太稳，再加上服务器配置低，Nginx相对于Apache来说更轻量，并发更高，所以打算吧Apache换成Nginx</p>
      
      <a class="article-more-link" href="/2021/ThinkPHP%E4%BD%BF%E7%94%A8Nginx/">阅读更多...</a>
      
      
      <!-- reward -->
      
    </div>
    
    
      <!-- copyright -->
      
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E7%BC%96%E7%A8%8B/" rel="tag">编程</a></li></ul>


    </footer>

  </div>

  

  
  
  

  

</article>
    
    <article id="post-Vue添加元素不能实时渲染" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2021/Vue%E6%B7%BB%E5%8A%A0%E5%85%83%E7%B4%A0%E4%B8%8D%E8%83%BD%E5%AE%9E%E6%97%B6%E6%B8%B2%E6%9F%93/"
    >Vue添加元素不能实时渲染</a
  >
</h2>
  

    </header>
    

    
    <div class="article-meta">
      <a href="/2021/Vue%E6%B7%BB%E5%8A%A0%E5%85%83%E7%B4%A0%E4%B8%8D%E8%83%BD%E5%AE%9E%E6%97%B6%E6%B8%B2%E6%9F%93/" class="article-date">
  <time datetime="2021-10-17T13:53:01.000Z" itemprop="datePublished">2021-10-17</time>
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E6%8A%80%E6%9C%AF/">技术</a>
  </div>

      
      
      
    </div>
    

    

    
    <div class="article-entry" itemprop="articleBody">
      
      

      
      <h3 id="Vue添加元素不能实时渲染"><a href="#Vue添加元素不能实时渲染" class="headerlink" title="Vue添加元素不能实时渲染"></a>Vue添加元素不能实时渲染</h3><p>今天遇到了一个很奇怪的问题，如下</p>
      
      <a class="article-more-link" href="/2021/Vue%E6%B7%BB%E5%8A%A0%E5%85%83%E7%B4%A0%E4%B8%8D%E8%83%BD%E5%AE%9E%E6%97%B6%E6%B8%B2%E6%9F%93/">阅读更多...</a>
      
      
      <!-- reward -->
      
    </div>
    
    
      <!-- copyright -->
      
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Vue/" rel="tag">Vue</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%8A%80%E6%9C%AF/" rel="tag">技术</a></li></ul>


    </footer>

  </div>

  

  
  
  

  

</article>
    
    <article id="post-SQL表结构修复" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2021/SQL%E8%A1%A8%E7%BB%93%E6%9E%84%E4%BF%AE%E5%A4%8D/"
    >SQL表结构修复</a
  >
</h2>
  

    </header>
    

    
    <div class="article-meta">
      <a href="/2021/SQL%E8%A1%A8%E7%BB%93%E6%9E%84%E4%BF%AE%E5%A4%8D/" class="article-date">
  <time datetime="2021-09-05T10:30:10.000Z" itemprop="datePublished">2021-09-05</time>
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/MySQL/">MySQL</a>
  </div>

      
      
      
    </div>
    

    

    
    <div class="article-entry" itemprop="articleBody">
      
      

      
      <h1 id="SQL表结构修复"><a href="#SQL表结构修复" class="headerlink" title="SQL表结构修复"></a>SQL表结构修复</h1><p>​    昨天因为升级win11 出现了BUG ，导致系统重装，数据库软件自然也就没了，当我尝试用MySQL/bin目录下的文件替换过去时，发现表能正常显示，但尝试打开表的时候报错，提示：<code>Tbale ‘表名’ doesn&#39;t exist</code> </p>
      
      <a class="article-more-link" href="/2021/SQL%E8%A1%A8%E7%BB%93%E6%9E%84%E4%BF%AE%E5%A4%8D/">阅读更多...</a>
      
      
      <!-- reward -->
      
    </div>
    
    
      <!-- copyright -->
      
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/MySQL/" rel="tag">MySQL</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%8A%80%E6%9C%AF/" rel="tag">技术</a></li></ul>


    </footer>

  </div>

  

  
  
  

  

</article>
    
    <article id="post-计算机" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    

    
    <div class="article-meta">
      <a href="/2021/ckumptr2x003g0cu22jsyczjz/" class="article-date">
  <time datetime="2021-08-17T12:09:14.789Z" itemprop="datePublished">2021-08-17</time>
</a>
      
      
      
      
    </div>
    

    

    
    <div class="article-entry" itemprop="articleBody">
      
      

      
      <p>栈的初始化，栈置空， top = 0</p>
<p>进栈/入栈操作 判断栈是否满 入栈 s -&gt; top++ ,s -&gt; data[s-&gt;top] == x</p>
<p>出栈 判断栈是否空 s - &gt; top –</p>

      
      <!-- reward -->
      
    </div>
    
    
      <!-- copyright -->
      
    <footer class="article-footer">
      
      

    </footer>

  </div>

  

  
  
  

  

</article>
    
    <article id="post-年度摄影总结" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2021/%E5%B9%B4%E5%BA%A6%E6%91%84%E5%BD%B1%E6%80%BB%E7%BB%93/"
    >年度摄影总结</a
  >
</h2>
  

    </header>
    

    
    <div class="article-meta">
      <a href="/2021/%E5%B9%B4%E5%BA%A6%E6%91%84%E5%BD%B1%E6%80%BB%E7%BB%93/" class="article-date">
  <time datetime="2021-08-15T05:57:10.000Z" itemprop="datePublished">2021-08-15</time>
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E6%91%84%E5%BD%B1/">摄影</a>
  </div>

      
      
      
    </div>
    

    

    
    <div class="article-entry" itemprop="articleBody">
      
      

      
      <p><video src="https://oss.shandianpan.com/eef70de1f9d1d05582b90f088fda8092" control></video></p>

      
      <!-- reward -->
      
    </div>
    
    
      <!-- copyright -->
      
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%91%84%E5%BD%B1/" rel="tag">摄影</a></li></ul>


    </footer>

  </div>

  

  
  
  

  

</article>
    
    <article id="post-Electron笔记" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2021/Electron%E7%AC%94%E8%AE%B0/"
    >Electron笔记</a
  >
</h2>
  

    </header>
    

    
    <div class="article-meta">
      <a href="/2021/Electron%E7%AC%94%E8%AE%B0/" class="article-date">
  <time datetime="2021-06-16T07:58:10.000Z" itemprop="datePublished">2021-06-16</time>
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/Electron/">Electron</a>
  </div>

      
      
      
    </div>
    

    

    
    <div class="article-entry" itemprop="articleBody">
      
      

      
      <h2 id="Electron笔记"><a href="#Electron笔记" class="headerlink" title="Electron笔记"></a>Electron笔记</h2>
      
      <a class="article-more-link" href="/2021/Electron%E7%AC%94%E8%AE%B0/">阅读更多...</a>
      
      
      <!-- reward -->
      
    </div>
    
    
      <!-- copyright -->
      
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E7%BC%96%E7%A8%8B/" rel="tag">编程</a></li></ul>


    </footer>

  </div>

  

  
  
  

  

</article>
    
    <article id="post-浏览器主页被篡改为gndh666.top" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2021/%E6%B5%8F%E8%A7%88%E5%99%A8%E4%B8%BB%E9%A1%B5%E8%A2%AB%E7%AF%A1%E6%94%B9%E4%B8%BAgndh666.top/"
    >浏览器主页被篡改为gndh666.top</a
  >
</h2>
  

    </header>
    

    
    <div class="article-meta">
      <a href="/2021/%E6%B5%8F%E8%A7%88%E5%99%A8%E4%B8%BB%E9%A1%B5%E8%A2%AB%E7%AF%A1%E6%94%B9%E4%B8%BAgndh666.top/" class="article-date">
  <time datetime="2021-04-19T09:03:43.000Z" itemprop="datePublished">2021-04-19</time>
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E6%8A%80%E6%9C%AF/">技术</a>
  </div>

      
      
      
    </div>
    

    

    
    <div class="article-entry" itemprop="articleBody">
      
      

      
      <p>今天遇到一个贼傻逼的事情， 女朋友的浏览器主页被篡改成了reg4.gndh666.top，并且跳转到hao123主页。</p>
      
      <a class="article-more-link" href="/2021/%E6%B5%8F%E8%A7%88%E5%99%A8%E4%B8%BB%E9%A1%B5%E8%A2%AB%E7%AF%A1%E6%94%B9%E4%B8%BAgndh666.top/">阅读更多...</a>
      
      
      <!-- reward -->
      
    </div>
    
    
      <!-- copyright -->
      
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%8A%80%E6%9C%AF/" rel="tag">技术</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%B5%8F%E8%A7%88%E5%99%A8/" rel="tag">浏览器</a></li></ul>


    </footer>

  </div>

  

  
  
  

  

</article>
    
    <article id="post-我的摄影精选" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2021/%E6%88%91%E7%9A%84%E6%91%84%E5%BD%B1%E7%B2%BE%E9%80%89/"
    >摄影精选</a
  >
</h2>
  

    </header>
    

    
    <div class="article-meta">
      <a href="/2021/%E6%88%91%E7%9A%84%E6%91%84%E5%BD%B1%E7%B2%BE%E9%80%89/" class="article-date">
  <time datetime="2021-04-16T06:47:45.000Z" itemprop="datePublished">2021-04-16</time>
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E6%91%84%E5%BD%B1/">摄影</a>
  </div>

      
      
      
    </div>
    

    

    
    <div class="article-entry" itemprop="articleBody">
      
      

      
      <p><img src="../../images/%E6%91%84%E5%BD%B1/DSC_0044.jpg" alt="DSC_0044"></p>
      
      <a class="article-more-link" href="/2021/%E6%88%91%E7%9A%84%E6%91%84%E5%BD%B1%E7%B2%BE%E9%80%89/">阅读更多...</a>
      
      
      <!-- reward -->
      
    </div>
    
    
      <!-- copyright -->
      
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%91%84%E5%BD%B1/" rel="tag">摄影</a></li></ul>


    </footer>

  </div>

  

  
  
  

  

</article>
    
    <article id="post-Node.js笔记" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2021/Python-%E5%9F%BA%E7%A1%80/"
    >Node.js笔记</a
  >
</h2>
  

    </header>
    

    
    <div class="article-meta">
      <a href="/2021/Python-%E5%9F%BA%E7%A1%80/" class="article-date">
  <time datetime="2021-03-08T04:28:10.000Z" itemprop="datePublished">2021-03-08</time>
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/Python/">Python</a>
  </div>

      
      
      
    </div>
    

    

    
    <div class="article-entry" itemprop="articleBody">
      
      

      
      <h2 id="Node-js-笔记"><a href="#Node-js-笔记" class="headerlink" title="Node.js 笔记"></a>Node.js 笔记</h2><h3 id="Node版本管理"><a href="#Node版本管理" class="headerlink" title="Node版本管理"></a>Node版本管理</h3><h4 id="npm"><a href="#npm" class="headerlink" title="npm"></a>npm</h4><p>使用<code>npm init</code>来初始化项目</p>
      
      <a class="article-more-link" href="/2021/Python-%E5%9F%BA%E7%A1%80/">阅读更多...</a>
      
      
      <!-- reward -->
      
    </div>
    
    
      <!-- copyright -->
      
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E7%BC%96%E7%A8%8B/" rel="tag">编程</a></li></ul>


    </footer>

  </div>

  

  
  
  

  

</article>
    
    <article id="post-Vue笔记" class="article article-type-post" itemscope
  itemprop="blogPost" data-scroll-reveal>

  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2021/Vue%E7%AC%94%E8%AE%B0/"
    >Vue笔记</a
  >
</h2>
  

    </header>
    

    
    <div class="article-meta">
      <a href="/2021/Vue%E7%AC%94%E8%AE%B0/" class="article-date">
  <time datetime="2021-03-08T04:28:10.000Z" itemprop="datePublished">2021-03-08</time>
</a>
      
  <div class="article-category">
    <a class="article-category-link" href="/categories/Vue/">Vue</a>
  </div>

      
      
      
    </div>
    

    

    
    <div class="article-entry" itemprop="articleBody">
      
      

      
      <h2 id="Vue笔记"><a href="#Vue笔记" class="headerlink" title="Vue笔记"></a>Vue笔记</h2><p><code>let</code> 定义变量， <code>const</code> 定义常量</p>
<p><code>var</code>是JS的一个设计错误，用<code>var</code>定义的变量出了代码块依然能访问</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>     <span class="hljs-keyword">var</span> a = <span class="hljs-number">10</span>;<br>&#125;<br><span class="hljs-built_in">console</span>.log(a);<br></code></pre></td></tr></table></figure>

<p>而let不行</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>    <span class="hljs-keyword">let</span> a = <span class="hljs-number">10</span>;<br>&#125;<br><span class="hljs-built_in">console</span>.log(a);<br></code></pre></td></tr></table></figure>

<p><code>const</code>定义的常量不能被第二次赋值</p>
      
      <a class="article-more-link" href="/2021/Vue%E7%AC%94%E8%AE%B0/">阅读更多...</a>
      
      
      <!-- reward -->
      
    </div>
    
    
      <!-- copyright -->
      
    <footer class="article-footer">
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E7%BC%96%E7%A8%8B/" rel="tag">编程</a></li></ul>


    </footer>

  </div>

  

  
  
  

  

</article>
    
  </article>
  

  
  <nav class="page-nav">
    
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="space">&hellip;</span><a class="page-number" href="/page/5/">5</a><a class="extend next" rel="next" href="/page/2/">下一页</a>
  </nav>
  
</section>
</div>

      <footer class="footer">
  <div class="outer">
    <ul class="list-inline">
      <li>
        &copy;
        2020-2021
        ZHF
      </li>
      <li>
        
        Powered by
        
        
        <a href="https://hexo.io" target="_blank">Hexo</a> Theme <a href="https://github.com/Shen-Yu/hexo-theme-ayer" target="_blank">Ayer</a>
        
      </li>
    </ul>
    <ul class="list-inline">
      <li>
        
        
        <span>
  <i>PV:<span id="busuanzi_value_page_pv"></span></i>
  <i>UV:<span id="busuanzi_value_site_uv"></span></i>
</span>
        
      </li>
      
      <li>
        <!-- cnzz统计 -->
        
        <script type="text/javascript" src=''></script>
        
      </li>
    </ul>
  </div>
</footer>
      <div class="to_top">
        <div class="totop" id="totop">
  <i class="ri-arrow-up-line"></i>
</div>
      </div>
    </main>
    <aside class="sidebar">
      <button class="navbar-toggle"></button>
<nav class="navbar">
  
  <div class="logo">
    <a href="/"><img src="/images/ayer-side.svg" alt="岛"></a>
  </div>
  
  <ul class="nav nav-main">
    
    <li class="nav-item">
      <a class="nav-item-link" href="/">主页</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/archives">归档</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/categories">分类</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/tags">标签</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/tags/%E6%97%85%E8%A1%8C/">旅行</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" target="_blank" rel="noopener" href="https://500px.me/ZHFHZ">摄影</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/2019/about">关于我</a>
    </li>
    
  </ul>
</nav>
<nav class="navbar navbar-bottom">
  <ul class="nav">
    <li class="nav-item">
      
      <a class="nav-item-link nav-item-search"  title="Search">
        <i class="ri-search-line"></i>
      </a>
      
      
      <a class="nav-item-link" target="_blank" href="/atom.xml" title="RSS Feed">
        <i class="ri-rss-line"></i>
      </a>
      
    </li>
  </ul>
</nav>
<div class="search-form-wrap">
  <div class="local-search local-search-plugin">
  <input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
  <div id="local-search-result" class="local-search-result"></div>
</div>
</div>
    </aside>
    <div id="mask"></div>

<!-- #reward -->
<div id="reward">
  <span class="close"><i class="ri-close-line"></i></span>
  <p class="reward-p"><i class="ri-cup-line"></i>请我喝杯咖啡吧~</p>
  <div class="reward-box">
    
    <div class="reward-item">
      <img class="reward-img" src="/images/alipay.jpg">
      <span class="reward-type">支付宝</span>
    </div>
    
    
    <div class="reward-item">
      <img class="reward-img" src="/images/wechat.jpg">
      <span class="reward-type">微信</span>
    </div>
    
  </div>
</div>
    
<script src="/js/jquery-2.0.3.min.js"></script>


<script src="/js/share.js"></script>


<script src="/js/lazyload.min.js"></script>


<script>
  try {
    var typed = new Typed("#subtitle", {
      strings: ['面朝大海，春暖花开', '愿你一生努力，一生被爱', '想要的都拥有，得不到的都释怀'],
      startDelay: 0,
      typeSpeed: 200,
      loop: true,
      backSpeed: 100,
      showCursor: true
    });
  } catch (err) {
  }

</script>





<script src="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.css">
<script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js"></script>

<script src="/js/ayer.js"></script>



<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>

    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">

        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>

        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">

            <div class="pswp__top-bar">

                <!--  Controls are self-explanatory. Order can be changed. -->

                <div class="pswp__counter"></div>

                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>

                <button class="pswp__button pswp__button--share" style="display:none" title="Share"></button>

                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>

                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>

                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                        <div class="pswp__preloader__cut">
                            <div class="pswp__preloader__donut"></div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div>
            </div>

            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>

            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>

            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>

        </div>

    </div>

</div>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.min.css">
<script src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe-ui-default.min.js"></script>

<script>
    function viewer_init() {
        let pswpElement = document.querySelectorAll('.pswp')[0];
        let $imgArr = document.querySelectorAll(('.article-entry img:not(.reward-img)'))

        $imgArr.forEach(($em, i) => {
            $em.onclick = () => {
                // slider展开状态
                // todo: 这样不好，后面改成状态
                if (document.querySelector('.left-col.show')) return
                let items = []
                $imgArr.forEach(($em2, i2) => {
                    let img = $em2.getAttribute('data-idx', i2)
                    let src = $em2.getAttribute('data-target') || $em2.getAttribute('src')
                    let title = $em2.getAttribute('alt')
                    // 获得原图尺寸
                    const image = new Image()
                    image.src = src
                    items.push({
                        src: src,
                        w: image.width || $em2.width,
                        h: image.height || $em2.height,
                        title: title
                    })
                })
                var gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, items, {
                    index: parseInt(i)
                });
                gallery.init()
            }
        })
    }
    viewer_init()
</script>




<script src="/js/busuanzi-2.3.pure.min.js"></script>



<script type="text/javascript" src="https://js.users.51.la/20544303.js"></script>

    
  </div>
</body>

</html>